<template id="topcmm-123flashchat-room-tab">
<div id="topcmm-123flashchat-common-chat-panel-title-bar-tab"
    class="topcmm-123flashchat-common-chat-panel-title-bar-tab topcmm-123flashchat-common-chat-panel-title-bar-tab-up">
    <div id="topcmm-123flashchat-common-chat-panel-title-bar-tab-color"
        class="topcmm-123flashchat-common-chat-panel-title-bar-tab-block">
        <div
            onmouseout="this.className='topcmm-123flashchat-common-chat-panel-title-bar-tab-block-out-color'"
            onmouseover="this.className='topcmm-123flashchat-common-chat-panel-title-bar-tab-block-over-color'"
            class="topcmm-123flashchat-common-chat-panel-title-bar-tab-block-out-color">
            <span
                class="topcmm-123flashchat-common-chat-panel-title-bar-tab-block-img">
                <img
                src="img/common/topcmm-123flashchat-tab-bar-private-chat-icon.png">
            </span> <span
                class="topcmm-123flashchat-common-chat-panel-title-bar-tab-block-text"
                id="topcmm-123flashchat-mainchat-messagetab-title-roomname-text">{0}</span>
            <span style="display: none;"
                id="topcmm-123flashchat-common-chat-room-embed-button"
                class="topcmm-123flashchat-common-chat-panel-title-bar-tab-block-eject-out-btn"
                onmouseover="this.className='topcmm-123flashchat-common-chat-panel-title-bar-tab-block-eject-over-btn'"
                onmouseout="this.className='topcmm-123flashchat-common-chat-panel-title-bar-tab-block-eject-out-btn'">
                <!-- space end-->
            </span>
            <!-- 移到TAB上出现close btn start -->
            <span id="topcmm-123flashchat-common-chat-room-close-button"
                onmouseout="this.className='topcmm-123flashchat-common-chat-panel-title-bar-tab-block-close-out-btn'"
                onmouseover="this.className='topcmm-123flashchat-common-chat-panel-title-bar-tab-block-close-over-btn'"
                class="topcmm-123flashchat-common-chat-panel-title-bar-tab-block-close-out-btn">
                <!-- space end-->
            </span>
            <!-- 移到TAB上出现close btn end -->
        </div>
    </div>
</div>
</template>
<template id="topcmm-123flashchat-room-content">
<div class="topcmm-123flashchat-room-content-message-input-wrap" id="topcmm-123flashchat-room-content-message-input-wrap">
    <div
        class="topcmm-123flashchat-common-chat-panel-chat-box-background-img"
        style="bottom: 90px;">
        <div id="topcmm-123flashchat-background">
            <img src="" style="display: none;" />
        </div>
    </div>
    <div id="topcmm-123flashchat-main-messageview"
        class="topcmm-123flashchat-common-chat-panel-chat-box"
        style="bottom: 91px;">
        <!--  talk message here -->
    </div>
    <!-- chat box end-->
    <div id="topcmm-123flashchat-gift-rotation-panel-container" class="topcmm-123flashchat-common-chat-panel-gift-notice-box-container" style="display: none">
        <div class="topcmm-123flashchat-common-chat-panel-gift-notice-box" id="topcmm-123flashchat-gift-rotation-panel">
            <span
                id="topcmm-123flashchat-common-chat-panel-gift-btn-container">
            <span
            onmouseout="this.className='topcmm-123flashchat-common-chat-panel-gift-notice-box-close-btn'" style="display: none"
            onmouseover="this.className='topcmm-123flashchat-common-chat-panel-gift-notice-box-close-btn-over'"
            class="topcmm-123flashchat-common-chat-panel-gift-notice-box-close-btn"
            id="topcmm-123flashchat-common-chat-panel-gift-notice-box-close-btn">
                <!-- space end-->
            </span>
            <span id="topcmm-123flashchat-common-chat-panel-gift-notice-box-min-btn" style="display: none"
                                            class="topcmm-123flashchat-common-chat-panel-gift-notice-box-min-btn-over">
                                        </span>
                                        <span id="topcmm-123flashchat-common-chat-panel-gift-notice-box-max-btn" style="display: none"
                                            class="topcmm-123flashchat-common-chat-panel-gift-notice-box-max-btn-over">
                                        </span>
        </span>
    </div>
    </div>
    <div id="topcmm-123flashchat-common-chat-panel-affilate-box"
        class="topcmm-123flashchat-common-chat-panel-affilate-box topcmm-123flashchat-common-chat-panel-affilate-box-color"
        style="display: none;">
        <span
            class="topcmm-123flashchat-common-chat-panel-affilate-box-icon">
            <!-- space end-->
        </span> <span
            class="topcmm-123flashchat-common-chat-panel-affilate-box-text">
            <a
            id="topcmm-123flashchat-common-chat-panel-affilate-box-source"
            target="_blank" style="cursor: pointer;"></a>
        </span> <a
            class="topcmm-123flashchat-common-chat-panel-affilate-box-btn"
            id="topcmm-123flashchat-common-chat-panel-affilate-box-close-btn">
            <!-- space end-->
        </a>
    </div>
    <!-- input box start-->
    <div class="topcmm-123flashchat-common-chat-panel-input-box"
        style="height: 90px;">
        <!-- input box distance start -->
       
        <!-- input box distance end -->
        <!-- input box toolbar start -->
        <div id="topcmm-123flashchat-main-input-toolbarview"
            class="topcmm-123flashchat-common-chat-panel-input-box-toolbar topcmm-123flashchat-main-input-toolbarview-bg">
            <div class="topcmm-123flashchat-common-chat-panel-input-box-indent">
                <div class="topcmm-123flashchat-common-chat-panel-input-user-select-box">
                    <span class="topcmm-123flashchat-common-chat-panel-input-box-labelstyle">
                        <select id="topcmm-123flashchat-main-toolbar-chat-dest-select" class="topcmm-123flashchat-common-chat-panel-input-user-select-menu" name="select">
                        </select>
                    </span>
					<span class="topcmm-123flashchat-common-chat-panel-input-box-labelstyle" id="topcmm-123flashchat-main-input-toolbar-whisper" style="display: none;">
						<input type="checkbox" class="topcmm-123flashchat-main-input-toolbar-whisper-checkbox" id="topcmm-123flashchat-main-input-toolbar-whisper-checkbox">
							<span class="topcmm-123flashchat-common-chat-panel-input-user-select-box-text" id="topcmm-123flashchat-common-chat-panel-input-user-select-box-text">{LANG_WHISPER}</span>
					</span>					
                </div>
                <div id="topcmm-123flashchat-main-toolbar-mode" style="display: none;">
                    <span class="topcmm-123flashchat-common-chat-panel-input-box-writingmode-btn">
                        <span class="topcmm-123flashchat-common-chat-panel-input-box-btn-out-style"
                        onmouseover="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-over-style'"
                        onmouseout="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-out-style'">
                            <!-- space end-->
                        </span>
                    </span> 
                    <span class="topcmm-123flashchat-common-chat-panel-input-box-arrow">
                        <!-- space end-->
                    </span>
                </div>
                <div id="topcmm-123flashchat-main-toolbar-font-option" class="topcmm-123flashchat-common-chat-panel-input-box-font-btn">
                    <span
                    class="topcmm-123flashchat-common-chat-panel-input-box-btn-out-style"
                    onmouseover="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-over-style'"
                    onmouseout="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-out-style'">
                        <!-- space end-->
                    </span>
                </div>
                <div id="topcmm-123flashchat-main-toolbar-smiley-option" class="topcmm-123flashchat-common-chat-panel-input-box-smiley-btn">
                    <span
                    class="topcmm-123flashchat-common-chat-panel-input-box-btn-out-style"
                    onmouseover="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-over-style'"
                    onmouseout="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-out-style'">
                        <!-- space end-->
                    </span>
                </div> 
                <span class="topcmm-123flashchat-common-chat-panel-input-box-video-btn" style="display: none;"> 
                	<span
                    onmouseout="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-out-style'"
                    onmouseover="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-over-style'"
                    onmousedown="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-out-style'"
                    class="topcmm-123flashchat-common-chat-panel-input-box-btn-out-style">
                        <!-- space end-->
                    </span>
                </span> 
                <span class="topcmm-123flashchat-common-chat-panel-input-box-audio-btn" style="display: none;"> 
                	<span
                    onmouseout="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-out-style'"
                    onmouseover="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-over-style'"
                    onmousedown="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-out-style'"
                    class="topcmm-123flashchat-common-chat-panel-input-box-btn-out-style">
                	</span>
                </span> 
                <span class="topcmm-123flashchat-common-chat-panel-input-box-gift-btn" style="display: none;"> 
                	<span
                    class="topcmm-123flashchat-common-chat-panel-input-box-btn-out-style"
                    onmouseover="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-over-style'"
                    onmouseout="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-out-style'">
                        <!-- space end-->
                    </span>
                </span> 
                
                <div id="topcmm-123flashchat-main-toolbar-message-type-option" class="topcmm-123flashchat-main-toolbar-with-arrow topcmm-123flashchat-main-toolbar-advance-message-button-content">
                	<span class="topcmm-123flashchat-common-chat-panel-input-box-newsicon-btn">
                    	<span class="topcmm-123flashchat-common-chat-panel-input-box-btn-out-style"
                    		onmouseover="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-over-style'"
                    		onmouseout="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-out-style'">
                        	<!-- space end-->
                        </span>
                	</span> 
                	<span class="topcmm-123flashchat-common-chat-panel-input-box-arrow">
                    <!-- space end-->
                    </span> 
                </div>
                
                <div id="topcmm-123flashchat-main-toolbar-style-option" class="topcmm-123flashchat-main-toolbar-with-arrow">
                	<span class="topcmm-123flashchat-common-chat-panel-input-box-color-style-btn" style="display: block"> 
                    	<span
                    	class="topcmm-123flashchat-common-chat-panel-input-box-btn-out-style"
                    	onmouseover="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-over-arrow-style'"
                    	onmouseout="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-out-style'">
                        <!-- space end-->
                    	</span>
                	</span> 
                	<span class="topcmm-123flashchat-common-chat-panel-input-box-arrow">
                    	<!-- space end-->
                	</span>
                </div>

                <div class="topcmm-123flashchat-main-toolbar-with-arrow" id="topcmm-123flashchat-main-toolbar-facebook-option" style="display: none">
                    <span class="topcmm-123flashchat-common-chat-panel-input-box-inviteicon-btn">
                        <span class="topcmm-123flashchat-common-chat-panel-input-box-btn-out-style"
                        onmouseover="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-over-style'"
                        onmouseout="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-out-style'">
                            <!-- space end-->
                    	</span>
                    </span> 
                    <span class="topcmm-123flashchat-common-chat-panel-input-box-arrow">
                        <!-- space end-->
                    </span>
                </div>

                <div style="display: none" class="topcmm-123flashchat-common-chat-panel-input-box-tweet-btn" id="topcmm-123flashchat-main-toolbar-tweet-option">                	
                    <span id="topcmm-123flashchat-main-toolbar-tweet-option-icon"
                    	class="topcmm-123flashchat-common-chat-panel-input-box-btn-out-style"
                    	onmouseover="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-over-style'"
                    	onmouseout="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-out-style'">
                        	<!-- space end-->
                	</span>
                </div>
                
                <div class="topcmm-123flashchat-main-toolbar-with-arrow" id="topcmm-123flashchat-main-toolbar-arrow-option" style="display: none">
                    <span class="topcmm-123flashchat-common-chat-panel-toolbar-arrow">
                        <span class="topcmm-123flashchat-common-chat-panel-input-box-btn-out-style"
                        onmouseover="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-over-style'"
                        onmouseout="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-out-style'">
                            <!-- space end-->
                    	</span>
                    </span>
                </div>
            </div>
            <span id="topcmm-123flashchat-common-chat-panel-input-box-draw-btn"
                class="topcmm-123flashchat-common-chat-panel-input-box-draw-right-btn">
                <span
                class="topcmm-123flashchat-common-chat-panel-input-box-draw-btn-out-style"
                onmouseover="this.className='topcmm-123flashchat-common-chat-panel-input-box-draw-btn-over-style'"
                onmouseout="this.className='topcmm-123flashchat-common-chat-panel-input-box-btn-out-style'">
                    <!-- space end-->
            </span>
            </span>
        </div>
        <!-- input box toolbar end -->
        <!-- avatar block start-->
        <div id="topcmm-123flashchat-main-input-panel" class="topcmm-123flashchat-main-input-panel-message-input-area-wrap">
            <div id="topcmm-123flashchat-common-chat-panel-input-box-avatar-block-sign" style="cursor: pointer;"
                class="topcmm-123flashchat-common-chat-panel-input-box-avatar-block">
                <div
                    class="topcmm-123flashchat-common-chat-panel-input-box-avatar">
                    <div
                        class="topcmm-123flashchat-common-chat-panel-input-box-avatar-background">
                        <div id="topcmm-123flashchat-input-avatar-img"
                            class="topcmm-123flashchat-common-chat-panel-input-box-avatar-img">
                            <img
                                src="img/common/topcmm-123flashchat-avatar1.png" />
                        </div>
                    </div>
                </div>
                                <div
                    class="topcmm-123flashchat-common-chat-panel-input-box-avatar-arrow">
                    <!-- space end-->
                </div>
            </div>
            <!-- avatar block end-->
            <div
                class="topcmm-123flashchat-common-chat-panel-input-box-textfield" id="topcmm-123flashchat-main-message-input-container">
                <textarea id="topcmm-123flashchat-main-message-input"
                    cols="15" rows="3"></textarea>
            </div>
            <div id="topcmm-123flashchat-main-youtube-message-input-container" class="topcmm-123flashchat-common-chat-panel-input-box-textfield" style="display: none">
                <span class="topcmm-123flashchat-toolbar-style-send-youtube-message-icon"></span>
                <span><input type="text" id="topcmm-123flashchat-youtube-message-input" class="topcmm-123flashchat-youtube-message-input"></input></span>
                <span id="topcmm-123flashchat-youtube-message-close-btn" class="topcmm-123flashchat-common-chat-panel-gift-notice-box-close-btn" style="display: none"></span>
            </div>
            <div class="topcmm-123flashchat-private-btn-container">
                            <div id="topcmm-123flashchat-main-send-msg-btn"
                                class="topcmm-123flashchat-common-chat-panel-input-box-send-btn topcmm-123flashchat-common-chat-panel-input-box-send-btn-background"
                                onmouseover="this.className='topcmm-123flashchat-common-chat-panel-input-box-send-btn topcmm-123flashchat-common-chat-panel-input-box-send-btn-over-background'"
                                onmouseout="this.className='topcmm-123flashchat-common-chat-panel-input-box-send-btn topcmm-123flashchat-common-chat-panel-input-box-send-btn-background'"
                                >
                                <span id="topcmm-123flashchat-common-sign-register-main-content-send"
                                    class="topcmm-123flashchat-common-sign-register-main-content-form-list-btn-inner topcmm-123flashchat-common-sign-register-main-content-form-list-login-btn-text">{LANG_SEND_GIFT_PANEL_SEND_BTN_LABEL}</span>
                            </div>
                            <div id="topcmm-123flashchat-main-newline-btn"
                                class="topcmm-123flashchat-common-chat-panel-input-box-enter-btn topcmm-123flashchat-private-input-box-enter-btn topcmm-123flashchat-private-input-box-enter-btn-background"
                                onmouseover="this.className='topcmm-123flashchat-common-chat-panel-input-box-enter-btn topcmm-123flashchat-private-input-box-enter-btn topcmm-123flashchat-private-input-box-enter-btn-over-background'"
                                onmouseout="this.className='topcmm-123flashchat-common-chat-panel-input-box-enter-btn topcmm-123flashchat-private-input-box-enter-btn topcmm-123flashchat-private-input-box-enter-btn-background'"
                                >
                                <span id="topcmm-123flashchat-common-sign-register-main-content-newline"
                                    class="topcmm-123flashchat-common-sign-register-main-content-form-list-btn-inner topcmm-123flashchat-common-sign-register-main-content-form-list-cancel-btn-text">{LANG_NEW_LINE}</span>
                            </div>
                            </div>
        </div>
    </div>
</div>
</template>

<template id="topcmm-123flashchat-gift-notice-box-text-area">
<span id="topcmm-123flashchat-common-chat-panel-gift-notice-box-text-area"
    class="topcmm-123flashchat-common-chat-panel-gift-notice-box-text-area">
    <span
    class="topcmm-123flashchat-common-chat-panel-gift-notice-box-gift-block"
    id="topcmm-123flashchat-gift-preview-container"> <span
        style="position: absolute; left: 6px;"><img src="{0}"></img></span>
        <span style="position: absolute; left: 6px;"> <img
            src="img/common/topcmm-123flashchat-loading.gif"></img>
    </span>
</span> <span id="topcmm-123flashchat-common-chat-panel-gift-notice-box-text-content"
    class='topcmm-123flashchat-common-chat-panel-gift-notice-box-text-content'></span>
</span> </template>

<template id="topcmm-123flashchat-gift-notice-box-text-area-ie">
    <marquee id="topcmm-123flashchat-common-chat-panel-gift-notice-box-text-area"
        class="topcmm-123flashchat-common-chat-panel-gift-notice-box-text-area" loop="1" direction="left" onfinish="onGiftMarqueeFinish()" scrollAmount="4">
        <span class="topcmm-123flashchat-common-chat-panel-gift-notice-box-text-area topcmm-123flashchat-gift-marquee-inner-text">
        <span id="topcmm-123flashchat-gift-preview-container"
            class="topcmm-123flashchat-common-chat-panel-gift-notice-box-gift-block">
        <span style="position: absolute; left: 6px;">
            <!--suppress HtmlUnknownTarget -->
            <img src="{0}">
        </span>
        <span style="position: absolute; left: 6px;">
            <!--suppress HtmlUnknownTarget -->
            <img src="img/common/topcmm-123flashchat-loading.gif">
        </span>
    </span>
    <span id="topcmm-123flashchat-common-chat-panel-gift-notice-box-time"
        class="topcmm-123flashchat-common-chat-panel-gift-notice-box-time">
    </span>
    <span id="topcmm-123flashchat-common-chat-panel-gift-notice-box-text-content"
        class='topcmm-123flashchat-common-chat-panel-gift-notice-box-text-content'></span></span>
    </marquee>
</template>

<template id="topcmm-123flashchat-gift-rotation-panel-min-button">
<span
    class="topcmm-123flashchat-common-chat-panel-gift-notice-box-min-btn-over" style="display: none"
    id="topcmm-123flashchat-common-chat-panel-gift-notice-box-min-btn">
    <!-- space end-->
</span> </template>
<template id="topcmm-123flashchat-gift-rotation-panel-max-button">
<span
    class="topcmm-123flashchat-common-chat-panel-gift-notice-box-max-btn-over" style="display: none"
    id="topcmm-123flashchat-common-chat-panel-gift-notice-box-max-btn">
    <!-- space end-->
</span> </template>